from src import app
from src.utils.res_tool import ResTool

BASE_PATH = "imgresource/"
PATH = "/img"
AVATAR_PATH = "/avatar"
DEFAULT_AVATAR_PATH = "/avatar/default.png"


def init_path():
    rtool = ResTool()
    rtool.check_path(BASE_PATH + PATH)
    rtool.check_path(BASE_PATH + AVATAR_PATH)
